// 新闻列表
import http from '../utils/http'
// 新闻列表
const newlist = params =>http.get('/api/visit/news/list',params)
// 删除
const newdeel = params =>http.get('/api/visit/news/del',params)
// 添加
const newadd=params =>http.post('/api/visit/news/add',params)
// 详情
const newshow=params => http.get('/api/visit/news/show',params)
// 修改
const newedit=params => http.post('/api/visit/news/edit',params)
export{
    newlist,
    newdeel,
    newadd,
    newshow,
    newedit
}